package com.ruoyi.detail.mapper;

import com.ruoyi.detail.domain.HouseVoteScoreDetail;

import java.util.List;

/**
 * 投票明细Mapper接口
 * 
 * @author ruoyi
 * @date 2023-10-07
 */
public interface HouseVoteScoreDetailMapper 
{
    /**
     * 查询投票明细
     * 
     * @param detailId 投票明细主键
     * @return 投票明细
     */
    public HouseVoteScoreDetail selectHouseVoteScoreDetailByDetailId(Long detailId);

    /**
     * 查询投票明细列表
     * 
     * @param houseVoteScoreDetail 投票明细
     * @return 投票明细集合
     */
    public List<HouseVoteScoreDetail> selectHouseVoteScoreDetailList(HouseVoteScoreDetail houseVoteScoreDetail);

    /**
     * 新增投票明细
     * 
     * @param houseVoteScoreDetail 投票明细
     * @return 结果
     */
    public int insertHouseVoteScoreDetail(HouseVoteScoreDetail houseVoteScoreDetail);

    /**
     * 修改投票明细
     * 
     * @param houseVoteScoreDetail 投票明细
     * @return 结果
     */
    public int updateHouseVoteScoreDetail(HouseVoteScoreDetail houseVoteScoreDetail);

    /**
     * 删除投票明细
     * 
     * @param detailId 投票明细主键
     * @return 结果
     */
    public int deleteHouseVoteScoreDetailByDetailId(Long detailId);

    /**
     * 批量删除投票明细
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHouseVoteScoreDetailByDetailIds(Long[] detailIds);
}
